<?php

namespace App\Vilidate\playlet;

/**
 * user控制器下的验证规则类
 */
class PlayletBlocksRankingController
{
    public $index = ['rule'=>[], 'msg'=>[]];

    public $delete = ['rule'=>[], 'msg'=>[]];

    public $update = [
        'rule'=>[
            'playlet_ids' => 'required|array',
        ],
        'msg'=>[
            'playlet_ids.required' => '小程序数组不能为空',
            'playlet_ids.array' => '小程序数组应为数组',
        ]
    ];
}